package acwing.数学;

import java.util.Scanner;

/**
 * 约数个数
 *
 * @author yang
 * @date 2021/12/15
 */
public class 约数个数 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int ans = 0;
        for (int i = 1; i <= n; i++) {
            if ((n % i) == 0) {
                ans++;
            }
        }
        System.out.println(ans);
    }
}
